projects
/
rust-ring.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dcb29e
)
[PATCH] Use array::iter
author
lzutao
<taolzu@gmail.com>
Wed, 30 Oct 2019 07:51:17 +0000
(14:51 +0700)
committer
Sylvestre Ledru
<sylvestre@debian.org>
Sat, 23 May 2020 21:38:56 +0000
(23:38 +0200)
See clippy::into_iter lint and https://github.com/rust-lang/rust/pull/65819
Gbp-Pq: Name use-array-iter.patch
build.rs
patch
|
blob
|
history
diff --git
a/build.rs
b/build.rs
index d1292bcf483af86395694103e470b0068ad9b389..d36826b48618e0fd76eb48348bafa71fe7208c6a 100644
(file)
--- a/
build.rs
+++ b/
build.rs
@@
-421,7
+421,7
@@
fn build_c_code(target: &Target, pregenerated: PathBuf, out_dir: &Path) {
// XXX: Ideally, ring-test would only be built for `cargo test`, but Cargo
// can't do that yet.
- libs.i
nto_i
ter()
+ libs.iter()
.for_each(|&(lib_name, srcs, additional_srcs)| {
build_library(
&target,